from dataclasses import dataclass
from typing import Any


@dataclass
class ConnectionData:
    """连接响应数据"""

    connection_id: str
    server_info: dict[str, Any]
    supported_features: list[str]

    def __post_init__(self):
        if not self.supported_features:
            self.supported_features = []
